package cn.iocoder.yudao.module.resource.controller.admin.cosplayoperation;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 角色操作分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CosplayOperationPageReqVO extends PageParam {

    @Schema(description = "角色id", example = "7973")
    private Long roleId;

    @Schema(description = "是否收藏")
    private Boolean favorited;

    @Schema(description = "是否玩过")
    private Boolean played;

    @Schema(description = "扩展")
    private String extension;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}